/* USER CODE BEGIN Header */
/**
  ******************************************************************************
  * @file           : SystemLogicTask.c
  * @brief          : System Output Task
  ******************************************************************************
  * @attention
  * 本文件用于  开关量输入输出相关的处理
  * @20210327:文件模板第一次生成
  *
  ******************************************************************************
  */
/* USER CODE END Header */

/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */

#include "SystemLogicTask.h"
#include "SystemConfigTask.h"
#include "SystemUartTask.h"

#include "SysCrc.h"

/* USER CODE END Includes */

/* Private typedef ------------------私有结构体-----------------------------------------*/
/* USER CODE BEGIN PTD */

extern RTC_HandleTypeDef hrtc;

ConfigDataRunDef RunDataConfig =
{
	{
		0
	}
};


/* USER CODE END PTD */

/* Private define -----------------私有宏--------------------------------*/
/* USER CODE BEGIN PD */





/* USER CODE END PD */

/* Private macro -------------------------------------------------------------*/
/* USER CODE BEGIN PM */



/* USER CODE END PM */




/* Private variables --------------私有变量-------------------------------------------*/

/* USER CODE BEGIN PV */

/* USER CODE END PV */

/* Private function prototypes --------私有子函数---------------------------------------*/

/* USER CODE BEGIN PFP */

/* USER CODE END PFP */


/* Private user code ------------------私有用户程序---------------------------------------*/
/* USER CODE BEGIN  */

void LogicTask(void *p)
{
	while(1)
	{
		rt_thread_mdelay(10);
	}
}

void LogicThreadInit(void)
{
	{
		/*Logic线程的创建*/
		rt_thread_t tid;
		tid = rt_thread_create("LogicTask",
                           LogicTask, RT_NULL,
                           LOGIC_STACK_SIZE,
                           LOGIC_PRIORITY,
                           LOGIC_TIMESLICE);
		if (tid != RT_NULL)
		{
					rt_thread_startup(tid);
		}
	}
}

/* USER CODE END  */





/************************ (C) COPYRIGHT CunJu *****END OF FILE****/
